<?php

class Model_DbTable_MemberGroup extends Zend_Db_Table_Abstract
{
    protected $_name        = 'member_group';
    protected $_primary     = array('member_id', 'group_id');
    protected $_referenceMap    = array(
        'Members' => array(
            'columns'           => array('member_id'),
            'refTableClass'     => 'Model_DbTable_Member',
            'refColumns'        => array('id')
        ),
        'Groups' => array(
            'columns'           => array('group_id'),
            'refTableClass'     => 'Model_DbTable_Group',
            'refColumns'        => array('id')
        )
    );
}